package com.liukai.exam.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 应用题小题题库
 * </p>
 *
 * @author liu kai
 * @since 2021-02-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SMALL_APPLICATION_QUEST")
@ApiModel(value="SmallApplicationQuest对象", description="应用题小题题库")
public class SmallApplicationQuest implements Serializable {

    private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "试卷编号")
        @TableId(value = "EXAM_ID", type = IdType.ID_WORKER)
    private Long examId;

        @ApiModelProperty(value = "小题编号")
        @TableField("QUESTION_ID")
    private Integer questionId;

        @ApiModelProperty(value = "大题编号")
        @TableField("BIG_QUESTION_INDEX")
    private Integer bigQuestionIndex;

        @ApiModelProperty(value = "小问编号")
        @TableField("SMALL_QUESTION_ID")
    private Integer smallQuestionId;

        @ApiModelProperty(value = "小问题目（唯一码）")
        @TableField("SMALL_CONTENT")
    private String smallContent;

        @ApiModelProperty(value = "小问图片")
        @TableField("SMALL_IMG")
    private String smallImg;

        @ApiModelProperty(value = "小问分数")
        @TableField("SMALL_SCORE")
    private Double smallScore;


}
